package com.ph.irp.base.assistantmaterial.dao;

import java.io.Serializable;
import java.util.List;
import com.ph.irp.model.PBaseAssistantmaterialCustomercategory;

public interface PBaseAssistantmaterialCustomerTypeDAO extends Serializable {
	
	List<PBaseAssistantmaterialCustomercategory> getAllCustomercategorys()throws Throwable;
	
	void deleteCustomer(String customerTypeId)throws Throwable;
	
	PBaseAssistantmaterialCustomercategory getCustomerTypeById(Integer customerTypeId)throws Throwable;
	
	List<PBaseAssistantmaterialCustomercategory> getCustomerTypeByCode(String customerTypeCode)throws Throwable;
	
	List<PBaseAssistantmaterialCustomercategory> getCustomerTypeByName(String customerTypeName)throws Throwable;
	
	List<PBaseAssistantmaterialCustomercategory> getCustomerTypeByNameAndCode(String customerTypeName,String customerTypeCode)throws Throwable;
	
	void updateCustomerType(PBaseAssistantmaterialCustomercategory customerTypeModel)throws Throwable;
	
	void addCustomerType(PBaseAssistantmaterialCustomercategory customerTypeModel)throws Throwable;

}
